package com.ns.school.mapper.edu;

import com.ns.school.po.edu.BorrowBookDB;

import java.util.List;

public interface BorrowBookMapper {
    List<BorrowBookDB> findBorrowBook(BorrowBookDB borrowBookDB);

    int borrowBook(BorrowBookDB borrowBookDB);

    Integer auditBorrow(BorrowBookDB borrowBookDB);

    Integer auditBorrowTrue(BorrowBookDB borrowBookDB);

    Integer auditBorrowFail(BorrowBookDB borrowBookDB);

    int checkBorrow(BorrowBookDB borrowBookDB);

    BorrowBookDB findBorrowById(Integer id);

    int revertBook(BorrowBookDB borrowBookDB);

    BorrowBookDB findReviewById(Integer id);

    BorrowBookDB editBorrowBook(Integer id);


}
